import WebSocket from "tauri-plugin-websocket-api";

const ws = await WebSocket.connect("ws://192.168.100.223:8083/mqtt");
await ws.send("Hello World");
await ws.disconnect();

ws.addListener((e) => {
console.log(e.data);
});